home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / Scripting-Tools / js15full.exe / Open.ht_ / Open.ht
Encoding:
Text File  |  1998-04-02  |  3.0 KB  |  66 lines

  1. <html>
  2.  
  3. <head><script language="JavaScript">
  4. <!-- Hide the script from old browsers --
  5.  
  6. //===============================================
  7. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  8. //===============================================
  9. function openNewWin4() {msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 1,location= 1,directories= 1,status= 1,menubar= 1,scrollbars= 1,resizable= 1,copyhistory= 1');}
  10. // finish hiding -->
  11. </script>
  12. <script language="JavaScript">
  13. <!-- Hide the script from old browsers --
  14.  
  15. //===============================================
  16. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  17. //===============================================
  18. function openNewWin3() {msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 0,location= 0,directories= 0,status= 0,menubar= 0,scrollbars= 0,resizable= 0,copyhistory= 0,width=400,height=225');}
  19. // finish hiding -->
  20. </script>
  21. <script language="JavaScript">
  22. <!-- Hide the script from old browsers --
  23.  
  24. //===============================================
  25. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  26. //===============================================
  27. function openNewWin2() {msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 0,location= 0,directories= 0,status= 1,menubar= 1,scrollbars= 0,resizable= 1,copyhistory= 0,width=300,height=300');}
  28. // finish hiding -->
  29. </script>
  30. <script language="JavaScript">
  31. <!-- Hide the script from old browsers --
  32.  
  33. //===============================================
  34. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  35. //===============================================
  36. function openNewWin1() {msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 1,location= 1,directories= 0,status= 0,menubar= 1,scrollbars= 1,resizable= 1,copyhistory= 1,width=300,height=300');}
  37. // finish hiding -->
  38. </script>
  39.  
  40. <title>Open Window</title>
  41. </head>
  42.  
  43. <body bgColor="#FFFFFF" text="000000">
  44.  
  45. <div align=center><font size=6 font="Arial"><b>Open Window</b></font></div><p>
  46.  
  47. 1. Click on this <a href="JavaScript: openNewWin1 ()">hyperlink</a> to open up a new window with custom sizing.<p>
  48.  
  49. 2. Click on this <a href="JavaScript: openNewWin2 ()">hyperlink</a> to open up a new window with custom sizing and settings.<p>
  50.  
  51. 3. Click on this <a href="JavaScript: openNewWin3 ()">hyperlink</a> to open up a new window with custom sizing, custom settings and no resizing.<p>
  52.  
  53. 4. Click on this <a href="JavaScript: openNewWin4 ()">hyperlink</a> to open up a new window with auto sizing.<p>
  54.  
  55. <b>Browser Compatibility</b><br>
  56. ò Works fully in Netscape Navigator 3.0 and higher<br>
  57. ò Works in Microsoft Internet Explorer 3.0 but if custom window size is specified, window will not be resizeable regardless of what you specify<br>
  58. ò Works fully in Microsoft Internet Explorer 4.0 and higher<br>
  59. ò Old browsers will also display a URL not found dialogue box when hyperlink hyperlink is clicked
  60.  
  61. </body>
  62.  
  63.  
  64. </html>
  65.  
  66.